package com.work.straighttalk.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import com.work.straighttalk.bean.User;

/**
 * Created by dllo on 16/3/4.
 */
public class SearchUserAdapter extends BaseRVAdapter<User> {
    private OnSearchListener listener;
    public SearchUserAdapter(OnSearchListener listener){
        this.listener = listener;
    }

    @Override
    public BaseViewHolder<User> onCreateViewHolder(ViewGroup parent, int viewType) {
        return new SearchUserHolder(parent.getContext(),parent,listener);
    }

}
